-- GENERATED SPELL FOR [Coilfang Strider] --


function spell0_22056(pUnit, Event) --@Mind Blast,n/a--
pUnit:FullCastSpellOnTarget(38259,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22056', 602, 1)
end

function Sorts_22056(pUnit, Event)
local choix_sorts_22056 = math.random(0, 0)
if choix_sorts_22056 == 0 then
pUnit:RegisterEvent('spell0_22056', 1, 1)
end
end

function mob22056_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22056', math.random(1500, 3000), 1)
end

function mob22056_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22056_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22056_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22056, 1, 'mob22056_Action')
RegisterUnitEvent(22056, 2, 'mob22056_Leave')
RegisterUnitEvent(22056, 3, 'mob22056_Kill')
RegisterUnitEvent(22056, 4, 'mob22056_Die')
